@echo off
call :add 10 30
echo %sum%
pause
exit

:add
set /a sum=%1+%2
goto :eof
